#ifndef SHEETDISPLAY_H
#define SHEETDISPLAY_H
#include <QWebPage>
#include <QWebView>
#include <QWebFrame>
#include <QFile>
#include <QMessageBox>
#include <QUrl>
#include <QList>
//#include <QSql>
#include <QSqlDatabase>
#include <QVBoxLayout>
#include <QVariant>
#include <QLabel>
class SheetDisplay : public QWebView
{
    Q_OBJECT
public:
    SheetDisplay(QWidget *parent=0);
public slots:
    void getUrl(QUrl);
    void openSheet(QString, QString);
private:
    QUrl *get;
    QList<QPair<QString,QString> > read;
    QSqlDatabase *characters;
    QWebView *view;
    QVBoxLayout *layout;
    QString *string;
    QMessageBox *box;
    QFile *file;
    QFile *openedS;
    QString *system;
    QString *tmp;
};

#endif // SHEETDISPLAY_H
